package org.afs.gescol.edt.api.test.mock;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.afs.gescol.core.dto.LevelCriteria;
import org.afs.gescol.core.dto.SeriesCriteria;
import org.afs.gescol.core.service.interfaces.ReferenceServices;
import org.scub.foundation.framework.base.dto.IdLabelDto;

/**
 * @author Kobla GBENYO (kobla.gbenyo@gmail.com)
 */
public class ReferenceServicesImpl implements ReferenceServices {

    @Override
    public List<IdLabelDto> getAppreciationByLabel(String label) {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public List<IdLabelDto> getCycleByLabel(String label) {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public List<IdLabelDto> getDayByLabel(String label) {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public List<IdLabelDto> getHourlyByLabel(String label) {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public List<IdLabelDto> getLevelByCriteria(LevelCriteria levelCriteria) {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public List<IdLabelDto> getPeriodByLabel(String label) {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public List<IdLabelDto> getSeriesByCriteria(SeriesCriteria seriesCriteria) {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public List<IdLabelDto> getSubjectByLabel(String label) {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public List<IdLabelDto> getTranchePaymentByLabel(String label) {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public IdLabelDto getSubjectById(Long id) {
        final Map<Long, String> subjects = new HashMap<Long, String>();
        subjects.put(1L, "Anglais");
        subjects.put(2L, "Maths");
        subjects.put(3L, "Sces Phys.");
        return new IdLabelDto(id, subjects.get(id));
    }

    @Override
    public IdLabelDto getSchoolClassById(Long id) {
        final Map<Long, String> schoolClasses = new HashMap<Long, String>();
        schoolClasses.put(1L, "6ème");
        schoolClasses.put(2L, "2nde D");
        schoolClasses.put(3L, "1ère A4");
        return new IdLabelDto(id, schoolClasses.get(id));
    }

    @Override
    public IdLabelDto getTeacherById(Long id) {
        final Map<Long, String> teachers = new HashMap<Long, String>();
        teachers.put(1L, "HOFFER Sépopo");
        teachers.put(2L, "GBENYO Kobla");
        return new IdLabelDto(id, teachers.get(id));
    }

}
